package com.wzy.webuserdemo.service;

import com.wzy.webuserdemo.pojo.User;

import java.util.List;

public interface UserService {

    public User getUserByName(String name);

    List<User> queryUserList();

    boolean insertUser(User user);

    User getById(Long id);

    boolean updateUser(User user);

    boolean delUser(long id);
}
